<!DOCTYPE HTML>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
        <meta name="format-detection" content="telephone=no" />
        <title>钱包</title>
        <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
        <link rel="stylesheet" type="text/css" href="../../css/common.css" />
        <style>
            body{
                background: #fff;
                font-size: 14px;
            }
            .money{
                font-size: 16px;
            }
            .title{
                width: 100%;
                display: block;
            }
            .time{
                color: #9c9c9c;
            }
            .shouru li{
                position: relative;
                padding:8px 0px;
            }
            .shouru li:before{
                border-bottom: 1px solid #9c9c9c;
                -webkit-transform: scale(0.5);
                position: absolute;
                bottom: 0;
                content: "";
                left: -100%;
                right: -100%;
            }
            .tixian{
                display: none;
            }

            .tixian li{
                position: relative;
                padding:8px 0px;
            }
            .tixian li:before{
                border-bottom: 1px solid #9c9c9c;
                -webkit-transform: scale(0.5);
                position: absolute;
                bottom: 0;
                content: "";
                left: -100%;
                right: -100%;
            }
        </style>
    </head>
    <body>
        <div class=" contain aui-content-padded">
            <div class="shouru">
               <ul>
                    <!-- data-type标识是否提现 2为提现-->
                   <li tapmode data-type="1" onclick="openInfo(this)">
                       <span class="money aui-pull-left">+368.25</span>
                       <span class=" aui-pull-right active">等待卖家发货</span>
                       <span class="title aui-ellipsis-1">女式休闲裤修身直筒女式时尚拉链口袋五分裤女式休闲裤修身直筒女式时尚拉链口袋五分裤</span>
                       <span class="time">2016-10-31 15:22:27</span>
                   </li>
                   <li tapmode data-type="1" onclick="openInfo(this)">
                       <span class="money aui-pull-left">+368.25</span>
                       <span class=" aui-pull-right active">等待卖家发货</span>
                       <span class="title aui-ellipsis-1">女式休闲裤修身直筒女式时尚拉链口袋五分裤女式休闲裤修身直筒女式时尚拉链口袋五分裤</span>
                       <span class="time">2016-10-31 15:22:27</span>
                   </li>
                   <li tapmode data-type="1" onclick="openInfo(this)">
                       <span class="money aui-pull-left">+368.25</span>
                       <span class=" aui-pull-right active">等待卖家发货</span>
                       <span class="title aui-ellipsis-1">女式休闲裤修身直筒女式时尚拉链口袋五分裤女式休闲裤修身直筒女式时尚拉链口袋五分裤</span>
                       <span class="time">2016-10-31 15:22:27</span>
                   </li>
                   <li tapmode data-type="1" onclick="openInfo(this)">
                       <span class="money aui-pull-left">+368.25</span>
                       <span class=" aui-pull-right ">交易关闭</span>
                       <span class="title aui-ellipsis-1">女式休闲裤修身直筒女式时尚拉链口袋五分裤女式休闲裤修身直筒女式时尚拉链口袋五分裤</span>
                       <span class="time">2016-10-31 15:22:27</span>
                   </li>
               </ul>
            </div>
            <div class="tixian">
               <ul>

                   <li tapmode data-type="2" onclick="openInfo(this)">
                       <span class="money aui-pull-left">-368.25</span>
                       <span class="title aui-ellipsis-1">提现-农业银行</span>
                       <span class="time">2016-10-31 15:22:27</span>
                   </li>
                   <li tapmode data-type="2" onclick="openInfo(this)">
                       <span class="money aui-pull-left">-368.25</span>
                       <span class="title aui-ellipsis-1">提现-农业银行</span>
                       <span class="time">2016-10-31 15:22:27</span>
                   </li>
                   <li tapmode data-type="2" onclick="openInfo(this)">
                       <span class="money aui-pull-left">-368.25</span>
                       <span class="title aui-ellipsis-1">提现-工商银行</span>
                       <span class="time">2016-10-31 15:22:27</span>
                   </li>
                   <li tapmode data-type="2" onclick="openInfo(this)">
                       <span class="money aui-pull-left">-368.25</span> 
                       <span class="title aui-ellipsis-1">提现-农业银行</span>
                       <span class="time">2016-10-31 15:22:27</span>
                   </li>
               </ul>
            </div>
        </div>
    </body>
    <script type="text/javascript" src="../../script/api.js" ></script>
    <script type="text/javascript" src="../../script/doT.min.js"></script>
    <script type="text/javascript" src="../../script/echo.js"></script>
    <script type="text/javascript" src="../../script/common.js"></script>
    <script type="text/javascript" src="../../script/myInfo.js"></script>
    <script type="text/javascript" src="../../script/jquery-1.11.3.js"></script>
    <script type="text/javascript">
        apiready = function() {
            api.parseTapmode();
            api.setRefreshHeaderInfo({
                visible : true,
                loadingImg : 'widget://image/ptr_pull.png',
                bgColor : '#efeff4',
                textColor : '#959595',
                textDown : '下拉刷新',
                textUp : '松开刷新',
                showTime : true
            }, function(ret, err) {
                page = 1;
                getData(catid);
                api.refreshHeaderLoadDone();
            });
            
        }
        //接收win跨域执行tab切换
        function changeContent(type){
            if(type=="shouru"){
                $(".tixian").css({"display":"none"});
                $(".shouru").css({"display":"block"});
            }else{
                $(".tixian").css({"display":"block"});
                $(".shouru").css({"display":"none"});
            }
        }
        function openInfo(obj){
            var type=$(obj).attr("data-type");
            api.openWin({
                name:"walletInfo",
                url:"walletInfo.html",
                pageParam:{
                    type:type
                }
            })
        }
    </script>
</html>